
class User {
  int? code;
  Data? data;

  User({this.code, this.data});

  User.fromJson(Map<String, dynamic> json) {
    code = json["code"];
    data = json["data"] == null ? null : Data.fromJson(json["data"]);
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["code"] = code;
    if(data != null) {
      _data["data"] = data?.toJson();
    }
    return _data;
  }
}

class Data {
  String? avatar;
  int? id;
  double? float;
  bool? isDeleted;
  String? nickname;
  dynamic openId;
  String? phone;
  List<int>? storeIds;
  String? updated;
  List<More>? more;

  Data({this.avatar, this.id, this.float, this.isDeleted, this.nickname, this.openId, this.phone, this.storeIds, this.updated, this.more});

  Data.fromJson(Map<String, dynamic> json) {
    avatar = json["avatar"];
    id = json["id"];
    float = json["float"];
    isDeleted = json["is_deleted"];
    nickname = json["nickname"];
    openId = json["openId"];
    phone = json["phone"];
    storeIds = json["store_ids"] == null ? null : List<int>.from(json["store_ids"]);
    updated = json["updated"];
    more = json["more"] == null ? null : (json["more"] as List).map((e) => More.fromJson(e)).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["avatar"] = avatar;
    _data["id"] = id;
    _data["float"] = float;
    _data["is_deleted"] = isDeleted;
    _data["nickname"] = nickname;
    _data["openId"] = openId;
    _data["phone"] = phone;
    if(storeIds != null) {
      _data["store_ids"] = storeIds;
    }
    _data["updated"] = updated;
    if(more != null) {
      _data["more"] = more?.map((e) => e.toJson()).toList();
    }
    return _data;
  }
}

class More {
  int? a;
  String? b;
  C? c;

  More({this.a, this.b, this.c});

  More.fromJson(Map<String, dynamic> json) {
    a = json["a"];
    b = json["b"];
    c = json["c"] == null ? null : C.fromJson(json["c"]);
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["a"] = a;
    _data["b"] = b;
    if(c != null) {
      _data["c"] = c?.toJson();
    }
    return _data;
  }
}

class C {
  double? c1;
  int? c2;

  C({this.c1, this.c2});

  C.fromJson(Map<String, dynamic> json) {
    c1 = json["c1"];
    c2 = json["c2"];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["c1"] = c1;
    _data["c2"] = c2;
    return _data;
  }
}